<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  <title>Document</title>
  <script src="../dist/vue.js"></script>
</head>

<body>
  <div id="app">aaa</div>
  <script>
    new Vue({
      el: "#app",
      components: {
        TX: {
          render: function (createElement) {
            return createElement("div", { tx: "tx" }, "tx");
          }
        }
      },
      render: function (createElement) {
        return createElement("div", { test: "test1" },
          ["hello1", createElement("TX")]);
      }
    });
  </script>
</body>

</html>